package com.study.client;

import com.study.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author wfw
 * @Date 2020/07/31 14:26
 */
@FeignClient("hrm-employee")
public interface EmployeeFeignClient {
    /**
     * 员工个人信息读取
     */
    @GetMapping("employees/{id}/personalInfo")
    Result findPersonalInfo(@PathVariable(name = "id") String uid);
}
